Outsourced document processing